package com.yonyou.pmclouds.siteinspection.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.siteinspection.entity.SiteInspectionVO;

/**
 * 巡查记录
 */
public interface PatrolMaintain {
    /**
     * 新增
     * @param vo
     * @return
     * @throws BusinessException
     */
    SiteInspectionVO add(SiteInspectionVO vo) throws BusinessException;

    /**
     * 驳回后提交
     * @param vo
     * @return
     * @throws BusinessException
     */
    SiteInspectionVO update(SiteInspectionVO vo) throws BusinessException;
}
